package com.sc.nft.controller.request;

import com.sc.nft.entity.dto.OrderFirstPayDTO;
import com.sc.nft.entity.dto.OrderRushPayDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class CreateRoughStoneOrderRequest {

    @ApiModelProperty("商品Id")
    @NotNull(message = "商品id不能为空")
    private Long productId;


    @ApiModelProperty("数量")
    @Range(min = 1,max = 10,message = "商品数量只允许1-10之间")
    private Integer count=1;


}
